package com.maidshop.maid.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maidshop.maid.domain.Maid;
import com.maidshop.maid.domain.dto.MaidDto;
import com.maidshop.maid.domain.vo.MaidVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author 22384
* @description 针对表【a_maid(女仆表)】的数据库操作Mapper
* @createDate 2025-01-20 15:34:23
* @Entity generator.domain.Maid
*/
@Repository
public interface MaidMapper extends BaseMapper<Maid> {

    void saveMaid(Maid maid);
    int deleteMaid(Long maidId);
    int updateMaid(Maid maid);
    MaidDto getMaidById(Long maidId);
    List<MaidDto> list(MaidVo maidVo);

}




